package com.sora.sora.server.mapper;

import com.sora.sora.common.model.entity.UserEntity;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface UserMapper {


    int uploadAvatar(String url, int uid);

    int updatePassword(int uid, String password);

    int updateEmail(int uid, String email);

    int updateSign(int uid, String sign);

    String queryEmailById(int uid);

    String queryNameById(int uid);

    int queryIdByName(String name);

    UserEntity queryUserById(int uid);
}
